FROM openjdk:8-jre
ENV ARTIFACTID yuandan
ENV ARTIFACTVERSION 0.0.1-SNAPSHOT
ENV HOME_PATH /home
ENV profile dev
WORKDIR $HOME_PATH
ADD /$ARTIFACTID-$ARTIFACTVERSION.jar $HOME_PATH/$ARTIFACTID.jar
ENTRYPOINT java -jar yuandan.jar  --spring.profiles.active=$profile
